package com.sean.dao;

import com.sean.entity.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherMapper {
    int deleteByPrimaryKey(Integer teacherid);

    int insert(Teacher record);

    int insertSelective(Teacher record);

    Teacher selectByPrimaryKey(Integer teacherid);
    Teacher selectByPrimaryKeyWithStudents(Integer teacherid);

    List<Teacher> selectByIds(@Param("ids") List<Integer> ids);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);
}